//根 getters
export default {
    getUsername: state => state.user.username,
    getMenus: state => state.user.menus,
    getMenus_url: state => state.user.menus_url,
    get_List: state => state.user.list,
    token: state => state.user.list.token,//token  保存token
    isLogin: state => Object.keys(state.user.list).length != 0  //判断是否登录
}